<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>Test_SNF_PRL_52_ManageTab</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test_SNF_PRL_52_ManageTab</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/portal/public/classic/</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Manage Tab--</td>
	<td></td>
</tr>
<tr>
	<td>windowMaximize</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>root</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Dashboard</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Dashboard</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Add new tab--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.AddDashboard</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=div.AddDashboard</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>//input</td>
	<td>Test_SNF_PRL_52</td>
</tr>
<tr>
	<td>keyPress</td>
	<td>//input</td>
	<td>\13</td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Test_SNF_PRL_52</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Test_SNF_PRL_52</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Edit tab--</td>
	<td></td>
</tr>
<tr>
	<td>doubleClick</td>
	<td>css=div.MiddleTab &gt; span</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//input</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>//input</td>
	<td>Test_SNF_PRL_52_edit</td>
</tr>
<tr>
	<td>keyPress</td>
	<td>//input</td>
	<td>\13</td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>Test_SNF_PRL_52_edit</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>Test_SNF_PRL_52_edit</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Delete tab--</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[2]/div/div/div/div/a/img</td>
	<td></td>
</tr>
<tr>
	<td>waitForConfirmationPresent</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>Really want to remove this dashboard?</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextNotPresent</td>
	<td>Test_SNF_PRL_52_edit</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextNotPresent</td>
	<td>Test_SNF_PRL_52_edit</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
